package cn.kimming.common.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * employee
 * @author 
 */
@Data
public class EmployeeAddDTO implements Serializable {

    @NotNull(message = "username is not null")
    private String username;

    /**
     * 员工姓名
     */
    @NotNull(message = "empName is not null")
    private String empName;

    /**
     * 身份证号
     */
    @NotNull(message = "idcard is not null")
    private String idcard;

    /**
     * 角色ID
     */
    @NotNull(message = "roleId is not null")
    private Long roleId;

    private static final long serialVersionUID = 1L;
}